package com.research.performace.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.research.performace.business.InitdataBusiness;

@Controller
public class InitdataController {

	@Autowired
	private InitdataBusiness initdatbusiness;
	
	@RequestMapping(value = "/countries", method = RequestMethod.GET)
	public String countries(Model model) {
		initdatbusiness.initCountry();
		return "/initdata/countries";
	}

}
